package com.atguigu.gulimail.ware.service;

import com.atguigu.gulimail.ware.vo.MergeVo;
import com.atguigu.gulimail.ware.vo.PurchaseDoneVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimail.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author huangjianyun
 * @email 2409441649@qq.com
 * @date 2021-09-18 13:41:34
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //查询未领取的采购单
    PageUtils queryPageUnreceive(Map<String, Object> params);

    //用于合并采购单
    void mergePurchase(MergeVo mergeVo);

    //采购人员传来领取的采购单ids数组，进行领取里面采购单
    void received(List<Long> ids);

    //完成采购
    void done(PurchaseDoneVo doneVo);
}

